from django.urls import path, include
from rest_framework.routers import DefaultRouter
from . import views

router = DefaultRouter(trailing_slash=False)
router.register(r'watermark', views.WatermarkTemplateViewSet)

urlpatterns = [
    path('', include(router.urls)),
    path("management", views.file_management),           # 文件管理
    path("sen_mark", views.sen_mark),                    # 文件标记
    path("sens_search", views.sens_search)               # 敏感查询接口
]
